/**
 * @Title: DeptService.java
 * @Package com.kaver.sso.service
 * @author roc
 * @date Aug 9, 2021 10:47:59 AM
 * @version V1.0
 * @copyright kaver
 */
package com.kaver.sso.service;

import java.util.List;

import com.kaver.sso.def.dto.DeptDto;
import com.kaver.sso.def.req.AddDeptReq;
import com.kaver.sso.def.req.DelDeptReq;
import com.kaver.sso.def.req.DeptListReq;
import com.kaver.sso.def.req.DeptPageListReq;
import com.kaver.sso.def.req.UpdateDeptReq;
import com.kaver.sso.def.resp.PageResp;

/**
 * @ClassName: DeptService
 * @Description: 部门
 * @author roc
 * @date Aug 9, 2021 10:47:59 AM
 * 
 */
public interface DeptService {
    /**
     * 添加部门
     */
    void addDept(AddDeptReq req);

    /**
     * 删除部门
     */
    void delDept(DelDeptReq req);

    /**
     * 更新部门
     */
    void updateDept(UpdateDeptReq req);

    /**
     * 部门列表分页查询
     */
    PageResp<DeptDto> deptPageList(DeptPageListReq req);

    /**
     * 部门列表查询
     */
    List<DeptDto> deptList(DeptListReq req);
}
